package com.jian.java;

/**
 * @author Jiange
 * @create 2021-04-21-20:34
 */
public class Student {
    private String Sno;
    private String Sname;
    private String sex;

    public Student() {
    }

    public Student(String sno, String sname, String sex) {
        Sno = sno;
        Sname = sname;
        this.sex = sex;
    }

    public String getSno() {
        return Sno;
    }

    public void setSno(String sno) {
        Sno = sno;
    }

    public String getSname() {
        return Sname;
    }

    public void setSname(String sname) {
        Sname = sname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "Sno='" + Sno + '\'' +
                ", Sname='" + Sname + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
